﻿@model List<modify.Models.user>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div> 
        <table>
            <thead>
                <tr>
                    <td>userid</td>
                    <td>username</td>
                    <td>pwd</td>
                    <td>email</td>
                    <td>Modify</td>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                <tr>
                    <td>@item.userid</td>
                    <td>@item.username</td>
                    <td>@item.pwd</td>
                    <td>@item.email</td>
                    <td>@Html.ActionLink("修改", "Modify", new { id = item.userid })</td>
                </tr>
                }
            </tbody>
        </table>
        
    </div>
</body>
</html>
